'use strict'
const settings = require('./src/settings.js')
//后台地址IP
const backStageIp = process.env.VUE_APP_BACKSTAGE_IP;
//后台地址端口
const backStagePort = process.env.VUE_APP_BACKSTAGE_PORT;


module.exports = {
  //
  devServer: {
    host:'0.0.0.0',
    port: 8572,
    proxy: {
      [process.env.VUE_APP_BASE_API]: {
        target: backStageIp + ':' + backStagePort,
        pathRewrite: {
          ['^' + process.env.VUE_APP_BASE_API]: ''
        }
      }
    }
  }



}
